<?php
	if(!isset($_SESSION['login'])){
		session_start();
	}
	if(isset($_SESSION['login'])){
		if(isset($_SESSION['login']) && $_SESSION['roles']==1){
		 header('location:_admin.php');
		}
		if(isset($_SESSION['login']) && $_SESSION['roles']==2){
		 header('location:_pengurus.php');
		}
		if(isset($_SESSION['login']) && $_SESSION['roles']==3){
		 header('location:_anggota.php');
		}
	}
?>